-
Notifications
You must be signed in to change notification settings - Fork 25.4k
Add a direct IO option to rescore_vector for bbq_hnsw #130893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: lucene_snapshot
Are you sure you want to change the base?
Conversation
7fec052
to
73e3cc0
Compare
server/src/main/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldMapper.java
Outdated
Show resolved
Hide resolved
I've added it as a separate option - but the name needs some work. I went with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we talked about before, I think this is likely the best way.
I don't know the best name for the parameter, but I agree it should be field mapper setting that is statically set on field creation.
Our format composability will allow us to have a
DirectIOES818HnswBinaryQuantizedVectorsFormat
and DirectIOES818BinaryQuantizedVectorsFormat
Really, the only difference will be a single parameter passed to the inner formats & the name. So, we can likely refactor slightly and greatly reduce the code churn required to make happen.
Change the JVM option to an index option